package com.tchhy.provider.data.healthy.response

import java.io.Serializable

/**
 * Created by admin on 2020-07-22
 */
data class ShopGoodRes(
    var commodityId: String,
    var commodityName: String,
    var commodityType: Int,
    var expireTime: String,
    var firstType: String,
    var firstTypeCode: String,
    var firstTypeIcon: String,
    var freightPrice: Long,
    var freightType: Int,
    var headImgUrl: String,
    var inSales: Boolean,
    var lockStock: Int,
    var crossPrice: Long,
    var number: Long,
    var providerId: String,
    var providerName: String,
    var recommendType: String,
    var recommendTypeCode: String,
    var salesNum: Int,
    var salesPrice: Long,
    var secondType: String,
    var secondTypeCode: String,
    var secondTypeIcon: String,
    var status: Int,//1 有效2失效3不能在该地区销售
    var stock: Int,
    var subtitle: String,
    var templateName: String,
    var updateTime: String,
    var userId: String,
    var videoUrl: String,
    var couponCode: List<String>,
    var detailImgUrl: List<String>,
    var introductionImgUrl: List<String>,
    var lockCouponCode: List<String>,
    var properties: List<Properties>,
    var isSelect:Boolean = false,
    var isValid:Boolean = true,//是否有效
    var isDelete: String,
    var costPrice: String,
    var costRate: String,





) : Serializable {
    data class Properties (
        var limit: Int,
        var name: String,
        var type: Int,
        var value: String
    ): Serializable
}